import req from '@/utils/request'

// 字典查询
export function getDictionary(data) {
  return req.post('/api/authority/dictionary/query', data)
}

// 字典查询
export function getEnums(data) {
  return req.post('/api/oauth/enums', data)
}

// 附件上传
export function importFile(data) {
  return req.post('/api/file/attachment/upload', data)
}
